package com.link.base.base.policy.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 * @comments 政策规则
 */
public class PcyRule extends BasicModel {
    /**政策头ID*/
    private Long pcyId;
    /**规则名称*/
    private String ruleName;
    /**规则类型,值列表类型: PCY_RULE_TYPE */
    private String ruleType;
    /**备注*/
    private String comments;
    /**政策名称*/
    private String pcyName;
    /**条件列表*/
    private List<PcyCnd> conditionList;
    /**结果列表*/
    private List<PcyResult> resultList;

    /**满足的状态*/
    private String satisfyStatus;
    /**满足的次数*/
    private Double satisfyNumber;
    /**满足的说明信息*/
    private String satisfyComments;

    /**规则描述*/
    private String ruleDescribe;
    /**执行时间（开始）*/
    private String startDate;
    /**执行时间（结束）*/
    private String endDate;
    /**首单优惠*/
    private String firstDiscountFlag;
    /**条件判断方式*/
    private String conditions;
    /**查询时间*/
    private String queryTime;


    public String getRuleDescribe() {
        return ruleDescribe;
    }

    public void setRuleDescribe(String ruleDescribe) {
        this.ruleDescribe = ruleDescribe;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getFirstDiscountFlag() {
        return firstDiscountFlag;
    }

    public void setFirstDiscountFlag(String firstDiscountFlag) {
        this.firstDiscountFlag = firstDiscountFlag;
    }

    public String getConditions() {
        return conditions;
    }

    public void setConditions(String conditions) {
        this.conditions = conditions;
    }

    public Long getPcyId() {
        return pcyId;
    }

    public void setPcyId(Long pcyId) {
        this.pcyId = pcyId;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getPcyName() {
        return pcyName;
    }

    public void setPcyName(String pcyName) {
        this.pcyName = pcyName;
    }

    public List<PcyCnd> getConditionList() {
        return conditionList;
    }

    public void setConditionList(List<PcyCnd> conditionList) {
        this.conditionList = conditionList;
    }

    public List<PcyResult> getResultList() {
        return resultList;
    }

    public void setResultList(List<PcyResult> resultList) {
        this.resultList = resultList;
    }

    public String getSatisfyStatus() {
        return satisfyStatus;
    }

    public void setSatisfyStatus(String satisfyStatus) {
        this.satisfyStatus = satisfyStatus;
    }

    public Double getSatisfyNumber() {
        return satisfyNumber;
    }

    public void setSatisfyNumber(Double satisfyNumber) {
        this.satisfyNumber = satisfyNumber;
    }

    public String getSatisfyComments() {
        return satisfyComments;
    }

    public void setSatisfyComments(String satisfyComments) {
        this.satisfyComments = satisfyComments;
    }

    public String getQueryTime() {
        return queryTime;
    }

    public void setQueryTime(String queryTime) {
        this.queryTime = queryTime;
    }
}
